You can build upon the "hello world" Vivado project by enabling the QSPI option.
Create a new application project via File -> New -> Application Project.
Select an empty .c file:
After the application project is created, copy the corresponding code into the project. You can also refer to the example provided in Vitis at Xilinx\Vitis\2021.1\data\embeddedsw\XilinxProcessorIPLib\drivers\qspips_v3_9\examples.
After the project compiles successfully, connect the development board's JTAG to the computer using a Type-C USB cable. Use another Type-C USB cable to connect the development board's PS UART to the computer.
On the computer, open a serial terminal tool like MobaXterm and establish a connection with the development board's PS UART.
In Vitis, enter debug mode: under Debug As, select the first option. Run at full speed to see the debug information through the serial port.
The debugging results are as follows: